﻿@model IEnumerable<Dqaqs.Web.Models.MenuItem> 

@foreach (var item in Model)
{
    <span class=@( TempData["SelectedSubMenu"] == item.Title ? "selected-submenu-item" : "submenu-item")> @Html.ActionLink(item.Title, item.Action, item.Controller) </span>
}